package com.akcome.hades.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.akcome.hades.domain.BmpIncome;

/**
 * 收益记录Service接口
 *
 * @author wn
 * @version $v: 1.0.0, $time:2017-12-26 08:49:00 Exp $
 */
public interface BmpIncomeService{

	BmpIncome save(BmpIncome bmpIncome);
	
	BmpIncome findOne(Long id);

	List<BmpIncome> findAll();

	List<BmpIncome> clearAuditData();

	Page<BmpIncome> findByPage(Long accountId, String payMode, String coinType, String status, String miningDate,
			Pageable page);

	int cleatAudit(String miningDate, String payMode, String coinType, List ids);

}
